package com.eric.domain.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProfessionalCategoryDTO {

    @NotNull(message = "id不能为空")
    private Integer id;

    @NotBlank(message = "专业名称不能为空")
    private String professionalName;

    private String createTime;

    private String updateTime;

    private String description;

}
